package com.nineclock.system;

import com.nineclock.common.entity.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * @author 黑马程序员
 * @Company http://www.ithiema.com
 * @Version 1.0
 */
@Api(value = "短信服务" , tags = "系统服务")
public interface SMSControllerApi {

    @ApiOperation("发送短信验证码")
    public Result sendCode(String mobile, String type);

    @ApiOperation("校验验证码")
    public Result<Boolean> verify(String mobile, String checkcode , String type);

}
